// Copyright (c) 2018 The VeChainThor developers

// Distributed under the GNU Lesser General Public License v3.0 software license, see the accompanying
// file LICENSE or <https://www.gnu.org/licenses/lgpl-3.0.html>

package gen

//go:generate rm -rf ./compiled/
//go:generate docker run --rm -v ./:/solidity ethereum/solc:0.4.24 --optimize-runs 200 --overwrite --bin-runtime --abi -o /solidity/compiled authority.sol energy.sol executor.sol extension.sol extension-v2.sol extension-v3.sol measure.sol params.sol prototype.sol
//go:generate docker run --rm -v ./:/sources ethereum/solc:0.8.20 --evm-version paris --optimize --optimize-runs 200 -o /sources/compiled --abi --bin-runtime /sources/staker.sol
// cleanup - remove all files starting with _
//go:generate docker run --rm -v ./compiled:/compiled alpine sh -c "find /compiled -type f \\( -name '_*' \\) -delete"
